\hypertarget{class_alfar_engine_1_1_components_1_1_a_component}{
\section{\-Alfar\-Engine.\-Components.\-A\-Component \-Class \-Reference}
\label{class_alfar_engine_1_1_components_1_1_a_component}\index{\-Alfar\-Engine.\-Components.\-A\-Component@{\-Alfar\-Engine.\-Components.\-A\-Component}}
}


\-Abstract class that define a \char`\"{}\-Component\char`\"{}, a specification of an object.  


\-Inheritance diagram for \-Alfar\-Engine.\-Components.\-A\-Component\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=1.686747cm]{class_alfar_engine_1_1_components_1_1_a_component}
\end{center}
\end{figure}
\subsection*{\-Public \-Member \-Functions}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_a_component_a500e3fdb9dd984424f32d24f3f42b979}{
{\bfseries \-A\-Component} (\hyperlink{class_alfar_engine_1_1_game_object}{\-Game\-Object} p\-Owner)}
\label{class_alfar_engine_1_1_components_1_1_a_component_a500e3fdb9dd984424f32d24f3f42b979}

\item 
virtual void \hyperlink{class_alfar_engine_1_1_components_1_1_a_component_ad600a3290e0db6305428786f5e3e2015}{\-Update} (\-Game\-Time p\-Time)
\begin{DoxyCompactList}\small\item\em \-Update this components (override to add specific behaviour) \end{DoxyCompactList}\item 
virtual void \hyperlink{class_alfar_engine_1_1_components_1_1_a_component_a72b092041f8c96a7a0d8eba5bc376827}{\-Draw} (\-Game\-Time p\-Time)
\begin{DoxyCompactList}\small\item\em \-Called when the engine \-Draw the component. \-Override to specify. \-This give a base color of white (no teint) \end{DoxyCompactList}\item 
virtual void \hyperlink{class_alfar_engine_1_1_components_1_1_a_component_aaa010d944163f806c6f5c2c6528a0646}{\-Draw} (\-Game\-Time p\-Time, \-Color p\-Color)
\begin{DoxyCompactList}\small\item\em \-Called when the engine \-Draw the component. \-Override to specify. \end{DoxyCompactList}\end{DoxyCompactItemize}
\subsection*{\-Protected \-Attributes}
\begin{DoxyCompactItemize}
\item 
\hypertarget{class_alfar_engine_1_1_components_1_1_a_component_abca814e3d7f626920cf65df2b03ab9d9}{
\hyperlink{class_alfar_engine_1_1_game_object}{\-Game\-Object} {\bfseries m\-Owner}}
\label{class_alfar_engine_1_1_components_1_1_a_component_abca814e3d7f626920cf65df2b03ab9d9}

\end{DoxyCompactItemize}
\subsection*{\-Properties}
\begin{DoxyCompactItemize}
\item 
\hyperlink{class_alfar_engine_1_1_game_object}{\-Game\-Object} \hyperlink{class_alfar_engine_1_1_components_1_1_a_component_a4f7c11e0a98985a45c9bde9f9424e0b5}{owner}\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}
\begin{DoxyCompactList}\small\item\em \-The object on which this component is attached. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{\-Detailed \-Description}
\-Abstract class that define a \char`\"{}\-Component\char`\"{}, a specification of an object. 



\subsection{\-Member \-Function \-Documentation}
\hypertarget{class_alfar_engine_1_1_components_1_1_a_component_a72b092041f8c96a7a0d8eba5bc376827}{
\index{\-Alfar\-Engine\-::\-Components\-::\-A\-Component@{\-Alfar\-Engine\-::\-Components\-::\-A\-Component}!\-Draw@{\-Draw}}
\index{\-Draw@{\-Draw}!AlfarEngine::Components::AComponent@{\-Alfar\-Engine\-::\-Components\-::\-A\-Component}}
\subsubsection[{\-Draw}]{\setlength{\rightskip}{0pt plus 5cm}virtual void \-Alfar\-Engine.\-Components.\-A\-Component.\-Draw (
\begin{DoxyParamCaption}
\item[{\-Game\-Time}]{p\-Time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{class_alfar_engine_1_1_components_1_1_a_component_a72b092041f8c96a7a0d8eba5bc376827}


\-Called when the engine \-Draw the component. \-Override to specify. \-This give a base color of white (no teint) 


\begin{DoxyParams}{\-Parameters}
{\em p\-Time} & \\
\hline
\end{DoxyParams}
\hypertarget{class_alfar_engine_1_1_components_1_1_a_component_aaa010d944163f806c6f5c2c6528a0646}{
\index{\-Alfar\-Engine\-::\-Components\-::\-A\-Component@{\-Alfar\-Engine\-::\-Components\-::\-A\-Component}!\-Draw@{\-Draw}}
\index{\-Draw@{\-Draw}!AlfarEngine::Components::AComponent@{\-Alfar\-Engine\-::\-Components\-::\-A\-Component}}
\subsubsection[{\-Draw}]{\setlength{\rightskip}{0pt plus 5cm}virtual void \-Alfar\-Engine.\-Components.\-A\-Component.\-Draw (
\begin{DoxyParamCaption}
\item[{\-Game\-Time}]{p\-Time, }
\item[{\-Color}]{p\-Color}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{class_alfar_engine_1_1_components_1_1_a_component_aaa010d944163f806c6f5c2c6528a0646}


\-Called when the engine \-Draw the component. \-Override to specify. 


\begin{DoxyParams}{\-Parameters}
{\em p\-Time} & \\
\hline
\end{DoxyParams}


\-Reimplemented in \hyperlink{class_alfar_engine_1_1_components_1_1_sprite_a466039b7ff2ef817ca1bf769e91252b1}{\-Alfar\-Engine.\-Components.\-Sprite}.

\hypertarget{class_alfar_engine_1_1_components_1_1_a_component_ad600a3290e0db6305428786f5e3e2015}{
\index{\-Alfar\-Engine\-::\-Components\-::\-A\-Component@{\-Alfar\-Engine\-::\-Components\-::\-A\-Component}!\-Update@{\-Update}}
\index{\-Update@{\-Update}!AlfarEngine::Components::AComponent@{\-Alfar\-Engine\-::\-Components\-::\-A\-Component}}
\subsubsection[{\-Update}]{\setlength{\rightskip}{0pt plus 5cm}virtual void \-Alfar\-Engine.\-Components.\-A\-Component.\-Update (
\begin{DoxyParamCaption}
\item[{\-Game\-Time}]{p\-Time}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}inline, virtual\mbox{]}}}}
\label{class_alfar_engine_1_1_components_1_1_a_component_ad600a3290e0db6305428786f5e3e2015}


\-Update this components (override to add specific behaviour) 


\begin{DoxyParams}{\-Parameters}
{\em p\-Time} & \\
\hline
\end{DoxyParams}


\-Reimplemented in \hyperlink{class_alfar_engine_1_1_components_1_1_collider_a18e0064b100dbf5a29ec675de408af26}{\-Alfar\-Engine.\-Components.\-Collider}, and \hyperlink{class_alfar_engine_1_1_components_1_1_light_a9e9a51fbe2b7984a1dae6125870a4995}{\-Alfar\-Engine.\-Components.\-Light}.



\subsection{\-Property \-Documentation}
\hypertarget{class_alfar_engine_1_1_components_1_1_a_component_a4f7c11e0a98985a45c9bde9f9424e0b5}{
\index{\-Alfar\-Engine\-::\-Components\-::\-A\-Component@{\-Alfar\-Engine\-::\-Components\-::\-A\-Component}!owner@{owner}}
\index{owner@{owner}!AlfarEngine::Components::AComponent@{\-Alfar\-Engine\-::\-Components\-::\-A\-Component}}
\subsubsection[{owner}]{\setlength{\rightskip}{0pt plus 5cm}{\bf \-Game\-Object} \-Alfar\-Engine.\-Components.\-A\-Component.\-owner\hspace{0.3cm}{\ttfamily  \mbox{[}get\mbox{]}}}}
\label{class_alfar_engine_1_1_components_1_1_a_component_a4f7c11e0a98985a45c9bde9f9424e0b5}


\-The object on which this component is attached. 



\-The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
\-E\-:/\-X\-N\-A/alfar\-Engine/\-Alfar\-Engine/\-Components/\-A\-Component.\-cs\end{DoxyCompactItemize}
